<!DOCTYPE html>
<html lang="en">
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <style>
            .button
            {
                position:fixed;
                top:64px;
            }
        </style>
    </head>
    <body style="margin: 0px;">
        <div style="height: 100%">
            <div id="savearea">
                <button class="btn btn-outline-secondary" onclick="javascript:button_save()" id="save_btn"><svg style="width: 24px" t="1595928179012" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2154"><path d="M227.555556 142.222222a85.333333 85.333333 0 0 0-85.333334 85.333334v568.888888a85.333333 85.333333 0 0 0 85.333334 85.333334h568.888888a85.333333 85.333333 0 0 0 85.333334-85.333334V227.555556a85.333333 85.333333 0 0 0-85.333334-85.333334H227.555556z m0-56.888889h568.888888a142.222222 142.222222 0 0 1 142.222223 142.222223v568.888888a142.222222 142.222222 0 0 1-142.222223 142.222223H227.555556a142.222222 142.222222 0 0 1-142.222223-142.222223V227.555556a142.222222 142.222222 0 0 1 142.222223-142.222223z" fill="#333333" p-id="2155"></path><path d="M284.444444 142.222222v256h455.111112V142.222222h56.888888v264.760889c0 26.567111-25.457778 48.128-56.888888 48.128H284.444444c-31.431111 0-56.888889-21.560889-56.888888-48.128V142.222222h56.888888z" fill="#333333" p-id="2156"></path><path d="M625.777778 199.111111m28.444444 0l0 0q28.444444 0 28.444445 28.444445l0 85.333333q0 28.444444-28.444445 28.444444l0 0q-28.444444 0-28.444444-28.444444l0-85.333333q0-28.444444 28.444444-28.444445Z" fill="#333333" p-id="2157"></path></svg>￥{LanguageCode:0003}￥</button>
            </div>
            <script>
                btn_available_str=`<button class="btn btn-outline-secondary" onclick="javascript:save()" id="save_btn"><svg style="width: 24px" t="1595905874765" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2152"><path d="M853.333333 967.111111H170.666667c-62.805333 0-113.777778-50.972444-113.777778-113.834667V170.723556A113.948444 113.948444 0 0 1 170.666667 56.888889h682.666666c62.805333 0 113.777778 50.972444 113.777778 113.834667v682.666666A113.777778 113.777778 0 0 1 853.333333 967.111111zM714.069333 152.064H316.643556L316.359111 341.333333a28.444444 28.444444 0 0 0 28.444445 28.444445h340.48a28.444444 28.444444 0 0 0 28.444444-28.444445l0.398222-189.269333z m167.594667 57.685333a56.888889 56.888889 0 0 0-56.888889-56.888889h-28.444444v245.418667a56.888889 56.888889 0 0 1-56.888889 56.888889H284.501333a56.888889 56.888889 0 0 1-56.888889-56.888889V152.860444h-27.306666a56.888889 56.888889 0 0 0-56.888889 56.888889V832.284444c0 31.345778 25.429333 46.990222 56.888889 46.990223h624.412444c31.402667 0 56.888889-15.530667 56.888889-46.990223V209.806222z m-282.965333 131.128889c-15.758222 0-37.148444-12.288-37.148445-27.875555V199.111111c0-15.701333 21.504-28.842667 37.148445-28.842667 15.758222 0 37.148444 13.255111 37.148444 28.842667v113.834667c0.113778 15.644444-21.390222 27.932444-37.148444 27.932444z" fill="#000000" p-id="2153"></path></svg>￥{LanguageCode:0003}￥</button>`;
                btn_disabled_str=`<button class="btn btn-outline-secondary" onclick="javascript:save()" id="save_btn" disabled><svg style="width: 24px" t="1595905874765" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2152"><path d="M853.333333 967.111111H170.666667c-62.805333 0-113.777778-50.972444-113.777778-113.834667V170.723556A113.948444 113.948444 0 0 1 170.666667 56.888889h682.666666c62.805333 0 113.777778 50.972444 113.777778 113.834667v682.666666A113.777778 113.777778 0 0 1 853.333333 967.111111zM714.069333 152.064H316.643556L316.359111 341.333333a28.444444 28.444444 0 0 0 28.444445 28.444445h340.48a28.444444 28.444444 0 0 0 28.444444-28.444445l0.398222-189.269333z m167.594667 57.685333a56.888889 56.888889 0 0 0-56.888889-56.888889h-28.444444v245.418667a56.888889 56.888889 0 0 1-56.888889 56.888889H284.501333a56.888889 56.888889 0 0 1-56.888889-56.888889V152.860444h-27.306666a56.888889 56.888889 0 0 0-56.888889 56.888889V832.284444c0 31.345778 25.429333 46.990222 56.888889 46.990223h624.412444c31.402667 0 56.888889-15.530667 56.888889-46.990223V209.806222z m-282.965333 131.128889c-15.758222 0-37.148444-12.288-37.148445-27.875555V199.111111c0-15.701333 21.504-28.842667 37.148445-28.842667 15.758222 0 37.148444 13.255111 37.148444 28.842667v113.834667c0.113778 15.644444-21.390222 27.932444-37.148444 27.932444z" fill="#000000" p-id="2153"></path></svg>￥{LanguageCode:0003}￥</button>`;
                var savearea=document.getElementById("savearea");
                var editarea=parent.document.getElementById("editarea");
                window.addEventListener('message', function(evt) {
                    eval(evt.data);
                }, false);
                function button_save()
                {
                    if(parent.editor_type=="markdown")
                    {
                        parent.save(parent.editor.content,"markdown");
                    }
                    else
                    {
                        parent.save();
                    }
                }
            </script>
            <script src="/js/bootstrap.bundle.min.js"></script>
        </div>
    </body>
</html>